Ext.define('extjs6test.store.BaseTreeStore', {
    extend: "Ext.data.TreeStore",
    requires: ['extjs6test.proxy.AbstractProxy'],
    alias: 'store.btree',
    // remoteFilter:true,
    proxy: {
        type: 'baseproxy'
    },
    listeners: {
        load: 'onLoad'
    },
    root: {
        text: 'Root',
        expand: true
    },
    onLoad: function (store, records, successful, opts) {
        store.getRoot().expand();
    }
});